document.addEventListener('NativeCallEvent', function(evt) { 
　  console.log('content event start');
    if(typeof chrome.app.isInstalled !== 'undefined'){
      chrome.runtime.sendMessage({type: "launch", message: evt.detail}, function(response) {
      });  
    }
}, false);